package com.hmall.common.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.core.annotation.Order;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description TODO
 * @Author fang
 * @Date 2023-06-06 21:35
 */
@FeignClient("orderservice")
public interface OrderClient {

    @GetMapping("/order/{id}")
    public Order queryOrderById(@PathVariable("id") Long orderId);
}
